package com.ruoyi.framework.security;

import java.util.Arrays;

/**
 * 用户注册对象
 * 
 * @author ruoyi
 */
public class RegisterBody extends LoginBody
{
    private Long userId;

    private String phone;

    private Long inviterId;

    private Long deptId;

    private String openId;

    private String wxCode;

    private String city;//城市
    private String cityCode;//城市编码
    private String inviterTree;//邀请树
    private Long treeLevel;//树层级
    private Long topInviterId;//最上级邀请人id
    private String icon;//头像
    private String nickName;//昵称

    /** 角色组 */
    private Long[] roleIds;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Long getInviterId() {
        return inviterId;
    }

    public void setInviterId(Long inviterId) {
        this.inviterId = inviterId;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public Long[] getRoleIds() {
        return roleIds;
    }

    public void setRoleIds(Long[] roleIds) {
        this.roleIds = roleIds;
    }

    public String getInviterTree() {
        return inviterTree;
    }

    public void setInviterTree(String inviterTree) {
        this.inviterTree = inviterTree;
    }

    public Long getTreeLevel() {
        return treeLevel;
    }

    public void setTreeLevel(Long treeLevel) {
        this.treeLevel = treeLevel;
    }

    public Long getTopInviterId() {
        return topInviterId;
    }

    public void setTopInviterId(Long topInviterId) {
        this.topInviterId = topInviterId;
    }

    public String getWxCode() {
        return wxCode;
    }

    public void setWxCode(String wxCode) {
        this.wxCode = wxCode;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getCityCode() {
        return cityCode;
    }

    public void setCityCode(String cityCode) {
        this.cityCode = cityCode;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    @Override
    public String toString() {
        return "RegisterBody{" +
                "userId=" + userId +
                ", phone='" + phone + '\'' +
                ", inviterId=" + inviterId +
                ", deptId=" + deptId +
                ", openId='" + openId + '\'' +
                ", wxCode='" + wxCode + '\'' +
                ", city='" + city + '\'' +
                ", cityCode='" + cityCode + '\'' +
                ", inviterTree='" + inviterTree + '\'' +
                ", treeLevel=" + treeLevel +
                ", topInviterId=" + topInviterId +
                ", icon='" + icon + '\'' +
                ", nickName='" + nickName + '\'' +
                ", roleIds=" + Arrays.toString(roleIds) +
                '}';
    }
}
